<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" th:fragment="header">
<head>
    <meta charset="UTF-8">
    <title>Retwis</title>
    <link rel="stylesheet" href="/css/screen.css" th:href="@{/css/screen.css}"/>
    <link rel="stylesheet" href="/css/custom.css" th:href="@{/css/custom.css}"/>
</head>
<body>
<div class="container" >
    <div id="header" class="span-24" >
        <div class="span-12">
            <br>
            <h1>Retiws</h1>
        </div>

        <div class="span-12 last right-align"  shiro:authenticated="">
            <br>
            <br>
            <br>
            <a th:href="@{/}">home</a> |
            <a th:href="@{/mentions/{username}(username=${session.username})}">mentions</a> |
            <a th:href="@{/{username}(username=${session.username})}"><span shiro:principal/></a>         |
            <a th:href="@{/timeline}">timeline</a> |
            <a th:href="@{/logout}">logout</a>     |
        </div>
        <div class="span-12 last right-align"  shiro:notAuthenticated="">
                    <br>
                    <br>
                    <br>
                    <a th:href="@{/signup}">login</a>
        </div>
        <hr>
    </div>
